package com.zjc.activiti;

import com.zjc.bean.OrderBean;
import com.zjc.bean.OrderSubBean;
import com.zjc.service.SubService;
import org.activiti.engine.RuntimeService;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

public class Test extends BaseActiviti {
    @org.junit.Test
    public  void  deploy(){
        this.baseDeploy("zjc.bpmn");
    }

    @org.junit.Test
    public void startProcess(){
        RuntimeService runtimeService=this.processEngine.getRuntimeService();

        runtimeService.startProcessInstanceByKey("myProcesszjc");

    }
}
